package biz;

import java.util.List;

import entity.Customer;

public interface CustomerBiz {
	/**
	 * 客户登录
	 * @param userName
	 * @param password
	 * @return
	 */
	public Customer loginCustomer(String userName,String password);
	
	public void registerCustomer(Customer customer);
	
	public void updateCustomer(Customer customer);
	
	public Customer queryCustomerInfo(int customerId);
	
	public boolean queryCustomerExists(String userName);
	
	public List<Customer> queryAllCustomer();
	
}
